from pydantic import BaseModel


class IdentityInfo(BaseModel):
    rk: str
    ak: str
    userid: str


class DeviceAuthorization(BaseModel):
    sn: str
    expire: str
    sign: str
    identity_info: IdentityInfo
